#password-viewer-empty {
  padding: 0.5em 0;
  opacity: 0.6;
  text-align: center;
}

#password-viewer-list {
  max-height: 70vh;
  overflow: auto;
}

#password-viewer-list > div {
  display: flex;
  margin: 0.75em 0;
}

#password-viewer-list > div > * + * {
  margin-left: 0.5em;
}

#password-viewer-list > div > button + button {
  margin-left: 1em;
}

#password-viewer-list > div > input {
  flex: 1;
  min-width: 0;
}

#password-viewer-list > div > span.description {
  flex: 1;
  opacity: 0.9;
  font-style: italic;
}

#password-viewer .domain-name {
  width: 30%;
  overflow: hidden;
  text-overflow: ellipsis;
}

#password-viewer-import-container {
  margin-top: 0.5em;
  display: flex;
  justify-content: center;
  gap: 1em;
}

#password-viewer-export, #password-viewer-import {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25em;
  opacity: 0.7;
}

#password-viewer-export:hover, #password-viewer-import:hover {
  opacity: 1;
}
